function flag= limit(time,T)
%函数用于判断是否满足制程限制
    [up_slope,down_slope,bet_time,more_time,topT] = require(time,T);
%     判断是否符合条件
    if(up_slope<=3&&down_slope>=-3&&bet_time>=60&&bet_time<=120&&more_time>=40&&more_time<=90&&topT>=240&&topT<=250)
        flag=1;
    else
        flag=0;
    end
    
end

